home *** CD-ROM | disk | FTP | other *** search
- property Howlong, start
-
- on beginSprite me
- start = the ticks
- Howlong = Howlong * 60.0
- end
-
- on exitFrame
- global gConMan
- if (the ticks < (start + Howlong)) or resWindowUp() or modalWindowUp() then
- go(the frame)
- else
- setIntroSeen(gConMan, #walls)
- end if
- end
-
- on getBehaviorDescription me
- a = "Use this script on a holding frame to add a wait. Enter the wait time in seconds in the parameters dialog box. "
- return a
- end
-
- on getPropertyDescriptionList me
- propList = [:]
- a = [#comment: "Wait how many seconds?", #format: #float, #default: 1.0]
- addProp(propList, #Howlong, a)
- return propList
- end
-